package com.hlkj.pay.vo.merchant.resp.report;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import javax.validation.constraints.NotNull;

import com.hlkj.framework.common.valid.EnumValid;
import com.hlkj.pay.enums.MerchantEnum;
import com.hlkj.pay.vo.merchant.resp.common.MerchantLicenseResp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/12/20 14:16
 */
@Data
public class MerchantReportInfoResp {
    /**
     * 商户类型，1=个人，2=企业
     */
    @Schema(description ="商户类型，1=个人，2=企业")
    @EnumValid(value = MerchantEnum.MERCHANT_TYPE.class,message = "商户类型 无效")
    @NotNull(message = "商户类型 不能为空")
    private Integer type;


    @Schema(description ="营业执照信息")
    private MerchantLicenseResp merchantReportLicense;
    @Schema(description ="法人信息")
    private MerchantReportCertResp merchantReportLegal;
    @Schema(description ="控制人类型 是否同法人 1 是 0 否")
    private Integer controllerType;
    @Schema(description ="联系人类型 是否同法人 1 是 0 否")
    private Integer contactType;
    @Schema(description ="控制人信息")
    private MerchantReportCertResp merchantReportController;
    @Schema(description ="受益人列表")
    private List<MerchantReportCertResp> merchantReportBenefitList;
    @Schema(description ="股东信息列表")
    private List<MerchantReportCertResp> merchantReportShareholderList;
    @Schema(description ="联系人信息")
    private MerchantReportCertResp merchantReportContact;
}
